﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Aribaccio.Office
{
    /// <summary>
    /// 数据表
    /// </summary>
    public class OfficeFileDataReadTable : OfficeFileDataSheet
    {
        /// <summary>
        /// 数据表
        /// </summary>
        public DataTable SheetDataTable { get; set; }

        public OfficeFileDataReadTable()
            : this(0)
        {

        }

        public OfficeFileDataReadTable(uint argSheetID)
            : this(argSheetID, string.Empty)
        {

        }

        public OfficeFileDataReadTable(OfficeFileDataSheet argSheetData)
            : this(argSheetData.SheetID, argSheetData.SheetName)
        {

        }

        public OfficeFileDataReadTable(uint argSheetID, string argSheetName)
            : base(argSheetID, argSheetName)
        {
            this.SheetDataTable = new DataTable();
        }
    }
}
